package gui.subpanel;

import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Insets;
import java.util.ResourceBundle;

import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.border.MatteBorder;

public class ColumnControlPanel extends JPanel {
	private static final long serialVersionUID = 1L;

	private static final ResourceBundle BUNDLE = ResourceBundle
			.getBundle("gui.messages"); //$NON-NLS-1$

	private JButton btnNewButton;
	private JButton btnNewButton_1;
	private JButton btnNewButton_2;
	private JButton btnNewButton_3;

	/**
	 * Create the panel.
	 */
	public ColumnControlPanel() {
		setBorder(new MatteBorder(0, 0, 1, 1, new Color(0, 0, 0)));
		setFocusable(false);
		setBackground(Color.WHITE);
		FlowLayout flowLayout = (FlowLayout) getLayout();
		flowLayout.setVgap(0);
		flowLayout.setHgap(0);
		add(getBtnNewButton());
		add(getBtnNewButton_1());
		add(getBtnNewButton_2());
		add(getBtnNewButton_3());
	}

	protected JButton getBtnNewButton() {
		if (btnNewButton == null) {
			btnNewButton = new JButton(
					BUNDLE.getString("ColumnControlPanel.btnNewButton.text"));
			btnNewButton.setMargin(new Insets(0, 0, 0, 0));
		}
		return btnNewButton;
	}

	protected JButton getBtnNewButton_1() {
		if (btnNewButton_1 == null) {
			btnNewButton_1 = new JButton(
					BUNDLE.getString("ColumnControlPanel.btnNewButton_1.text")); //$NON-NLS-1$
			btnNewButton_1.setMargin(new Insets(0, 0, 0, 0));
		}
		return btnNewButton_1;
	}

	protected JButton getBtnNewButton_2() {
		if (btnNewButton_2 == null) {
			btnNewButton_2 = new JButton(
					BUNDLE.getString("ColumnControlPanel.btnNewButton_2.text")); //$NON-NLS-1$
			btnNewButton_2.setMargin(new Insets(0, 0, 0, 0));
		}
		return btnNewButton_2;
	}

	protected JButton getBtnNewButton_3() {
		if (btnNewButton_3 == null) {
			btnNewButton_3 = new JButton(
					BUNDLE.getString("ColumnControlPanel.btnNewButton_3.text")); //$NON-NLS-1$
			btnNewButton_3.setMargin(new Insets(0, 0, 0, 0));
		}
		return btnNewButton_3;
	}

}